package t3.candy;

import java.lang.reflect.Method;

/**
 * @author bink
 */
public class CandySyntheticBridge {
    public static void main(String[] args) {
        for (Method declaredMethod : Son.class.getDeclaredMethods()) {
            System.out.println(declaredMethod);
        }
    }
}

class Parent{
    public Number getCode(){
        return 0;
    }
}

class Son extends Parent{
    @Override
    public Integer getCode() {
        return 1;
    }
}
